package com.wonders.auth.module.sys.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wonders.auth.module.dao.UserMapper;
import com.wonders.auth.module.fo.UserFo;
import com.wonders.auth.module.po.User;
import com.wonders.auth.module.sys.service.IUserService;
import com.wonders.auth.module.vo.UserVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author wonders
 */
@Service
public class IUserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {
    @Resource
    private UserMapper userMapper;

    @Override
    public IPage<UserVo> selectPageVo(IPage<User> iPage, UserFo userFo) {
        IPage<UserVo> userVoIPage = userMapper.selectPageVo(iPage, userFo);
        return userVoIPage;
    }
}
